plot1 = figure
bar(max_patterns)
ylabel('Maximum number of patterns')
legend('Apache','Barnes','Black.','Body.','Canneal','Chole.','FFT','JBB','LU','Migr.','MP3D','Ocean','Prod.','Radix','Water','X264')
set(plot1,'Position',[100,100,900,400])

=========================

bar(block_dis)
set(gca, 'YLim',[0 6000])
set(gca,'XTickLabel',{'Cache', 'Tagless Dir.'})
ylabel('Number of blocks/Dir Entries')
legend('1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16')

==========================

plot2 = figure
false_positive_base = false_positive(1:3,:)'
bar(false_positive_base)
legend('TL-16-2','TL-32-2','TL-64-2')
ylabel('Average false positive bits')
set(plot2,'Position',[100,100,1000,300])

==========================

false_positive_64 = false_positive(4:7,:)'
plot3 = figure
set(plot3,'Position',[100,100,1000,300])
bar(false_positive_64)
legend('SPATL2048','SPATL1024','SPATL512','SPATL1024noupdate')
set(gca, 'YLim',[0 2])
ylabel('Average false positive bits')

==========================
bar(extra_flits/2)
ylabel('Extra traffic caused by updating')
set(gca, 'YLim',[0 0.2])
set(plot3,'Position',[100,100,1000,300])
